package com.dlc.shop.jky.common.foreign.service;

import com.dlc.shop.bean.model.OfflineHandleEvent;
import com.dlc.shop.bean.model.OfflineHandleEventItem;
import com.dlc.shop.bean.param.OfflineHandleEventAuditParam;
import com.dlc.shop.bean.param.ProductParam;

/**
 * 商品相关
 */
public interface ForeignProductService {

    /**
     * 增加商品
     * @param prodId
     * @return
     */
    String save(Long prodId,Long shopId ,Long employeeId, OfflineHandleEvent offlineHandleEvent);

    /**
     * 平台端 删除商品
     * @param prodId
     * @return
     */
    String delete(Long prodId);

    /**
     * 平台端 下线商品
     * @param offlineHandleEvent
     * @return
     */
    String offline(OfflineHandleEvent offlineHandleEvent);

    /**
     * 平台端审核商品
     * @param offlineHandleEvent
     * @return
     */
    String auditProd(OfflineHandleEvent offlineHandleEvent);

    /**
     * 修改商品
     * @param productParam
     * @return
     */
    String update(ProductParam productParam);

    /**
     * 商家端批量删除
     * @param ids
     * @return
     */
    String deleteList(Long[] ids);

    /**
     * 商家端商家申请
     * @param
     * @return
     */
    String auditApply(OfflineHandleEventAuditParam offlineHandleEventAuditParam, OfflineHandleEventItem offlineHandleEventItem);

    /**
     * 平台端申请违规下架的商品
     * @param offlineHandleEventAuditParam
     * @return
     */
    String prodOfflineAudit(OfflineHandleEventAuditParam offlineHandleEventAuditParam);

    /**
     * 商家端 商品 状态更改
     * @param productParam
     * @return
     */
    String prodStatus(ProductParam productParam);

    /**
     *  批量修改状态
     * @param ids
     * @param status
     * @return
     */
    String batchProdStatus(Long[] ids, Integer status);
}
